package com.bw.mvp.ui;

import com.bw.mvp.base.BaseModel;
import com.bw.mvp.model.BaseResponse;
import com.bw.mvp.model.PostListModel;

import io.reactivex.Observable;

public class PostModel extends BaseModel implements PostContract.IPostModel{

    @Override
    public Observable<BaseResponse<PostListModel>> getPostList(int pageNum, int pageSize){
        return mApiService.getPostList(pageNum,pageSize);
    }
}
